<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1" style="background-color: bisque">
    <tr>
        <td>id</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>专业</td>
        <td>毕业院校</td>
        <td>工作单位</td>
        <td>操作</td>
    </tr>
    <?php
    $i = 1;
    do{
        echo "<tr>";
        echo "<td>".$i."</td>";
        echo "<td>姓名".$i."</td>";
        echo "<td>".$i."</td>";
        echo "<td>".$i."</td>";
        echo "<td>".$i."</td>";
        echo "<td>".$i."</td>";
        echo "<td>
                <button onclick='shanchu()' style='border-radius: 4px;width: 50px;height: 25px;margin: 0px 10px;border: none;outline: none;
                        color: white;background-color: red'>删除</button>
                <button onclick='genggai()' style='border-radius: 4px;width: 50px;height: 25px;margin: 0px 10px;border: none;outline: none;
                   color: white;background-color: green'>更改</button>
            </td>";

        echo "</tr>";
        $i++;
    }while ($i<=5);
    ?>
</table>
</body>
</html>
